package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学校对象 school
 * 
 * @author ruoyi
 * @date 2024-02-23
 */
public class School extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long sid;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 学校地址 */
    @Excel(name = "学校地址")
    private String schoolAddress;

    /** 学校简介 */
    @Excel(name = "学校简介")
    private String schoolProfile;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String schoolEmil;

    /** 学校类型（1.幼儿园 2.小学 3.中学 4.高中 5.大学 6.培训机构） */
    @Excel(name = "学校类型", readConverterExp = "1=.幼儿园,2=.小学,3=.中学,4=.高中,5=.大学,6=.培训机构")
    private Long schoolType;

    /** 上级部门 */
    @Excel(name = "上级部门")
    private String upDepartment;

    /** 所属辖区 */
    @Excel(name = "所属辖区")
    private String jurisdiction;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 固定电话 */
    @Excel(name = "固定电话")
    private String fixedTelephone;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String contactsPhone;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postalCode;

    /** 学校网站 */
    @Excel(name = "学校网站")
    private String webPage;

    /** 状态（1.正常 2.失效） */
    @Excel(name = "状态", readConverterExp = "1=.正常,2=.失效")
    private Long status;

    /** 是否删除（1.正常 2.已删除） */
    @Excel(name = "是否删除", readConverterExp = "1=.正常,2=.已删除")
    private Long isDelete;

    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setSchoolAddress(String schoolAddress) 
    {
        this.schoolAddress = schoolAddress;
    }

    public String getSchoolAddress() 
    {
        return schoolAddress;
    }
    public void setSchoolProfile(String schoolProfile) 
    {
        this.schoolProfile = schoolProfile;
    }

    public String getSchoolProfile() 
    {
        return schoolProfile;
    }
    public void setSchoolEmil(String schoolEmil) 
    {
        this.schoolEmil = schoolEmil;
    }

    public String getSchoolEmil() 
    {
        return schoolEmil;
    }
    public void setSchoolType(Long schoolType) 
    {
        this.schoolType = schoolType;
    }

    public Long getSchoolType() 
    {
        return schoolType;
    }
    public void setUpDepartment(String upDepartment) 
    {
        this.upDepartment = upDepartment;
    }

    public String getUpDepartment() 
    {
        return upDepartment;
    }
    public void setJurisdiction(String jurisdiction) 
    {
        this.jurisdiction = jurisdiction;
    }

    public String getJurisdiction() 
    {
        return jurisdiction;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setFixedTelephone(String fixedTelephone) 
    {
        this.fixedTelephone = fixedTelephone;
    }

    public String getFixedTelephone() 
    {
        return fixedTelephone;
    }
    public void setContactsPhone(String contactsPhone) 
    {
        this.contactsPhone = contactsPhone;
    }

    public String getContactsPhone() 
    {
        return contactsPhone;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setWebPage(String webPage) 
    {
        this.webPage = webPage;
    }

    public String getWebPage() 
    {
        return webPage;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("schoolName", getSchoolName())
            .append("schoolAddress", getSchoolAddress())
            .append("schoolProfile", getSchoolProfile())
            .append("schoolEmil", getSchoolEmil())
            .append("schoolType", getSchoolType())
            .append("upDepartment", getUpDepartment())
            .append("jurisdiction", getJurisdiction())
            .append("contacts", getContacts())
            .append("fixedTelephone", getFixedTelephone())
            .append("contactsPhone", getContactsPhone())
            .append("postalCode", getPostalCode())
            .append("webPage", getWebPage())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
